package com.yyg.boot.web;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 一一哥Sun
 * @Date Created in 2020/5/14
 * @Description Description
 */
@Slf4j
@RestController
public class Log2Controller {

    @GetMapping("/log2")
    public String showLog(){

        log.info("info2级别的日志信息...");
        log.warn("warn2级别的日志信息...");

        return "ok";
    }

}
